Total Complexity | 24 |
Dependencies | 2 |
Dependents | 0 |
Total lines | 201 |
Lines of code | 148 |
Logical lines of code | 67 |
Comment lines | 2 |
Methods | 14 |
Properties | 3 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
validate_shipping_rates_field() | 49 | 6 | 32 | |
generate_pricing_condition_radio_html() | 51 | 4 | 28 | |
generate_free_shipping_condition_html() | 56 | 1 | 21 | |
generate_shipping_rates_html() | 56 | 1 | 19 | |
validate_pricing_condition_field() | 70 | 2 | 6 | |
validate_free_shipping_condition_field() | 70 | 2 | 6 | |
__construct() | 68 | 1 | 8 | |
init() | 74 | 1 | 5 | |
init_form_fields() | 81 | 1 | 3 | |
get_rates() | 79 | 1 | 3 | |
get_pricing_condition() | 79 | 1 | 3 | |
get_product_code() | 82 | 1 | 3 | |
get_return_product_code() | 82 | 1 | 3 | |
calculate_shipping() | 67 | 1 | 8 |